package com.mercycrazy.springframework.core.convert.converter;

/**
 * 类型转换注册接口
 *
 * @author <a href="mailto:1443424326@qq.com">mercycrazy</a>
 * @since 2022-12-03
 */
public interface ConverterRegistry {

    /**
     * Add a plain converter to this registry
     */
    void addConverter(Converter<?, ?> converter);

    /**
     * Add a generic converter to this registry
     */
    void addConverter(GenericConverter converter);

    /**
     * Add a ranged converter factory to this registry
     */
    void addConverterFactory(ConverterFactory<?, ?> converterFactory);
}
